<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="387621" data-post-id="387621">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="kip" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/kip/120/1440_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  kip
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>ex_cldr Core Team</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Finally. <em>finally</em>. <code>ex_money</code> is updated to be based upon <code>localize</code>, not <code>ex_cldr</code>.</p>
<h3><a name="p-387621-updated-libraries-1" class="anchor" href="#p-387621-updated-libraries-1" aria-label="Heading link" rel="nofollow"></a>Updated libraries</h3>
<ul>
<li><a href="https://hex.pm/packages/ex_money/6.0.0-rc.0" rel="nofollow">ex_money version 6.0.0-rc.0</a></li>
<li><a href="https://hex.pm/packages/ex_money_sql/2.0.0" rel="nofollow">ex_money_sql 2.0.0</a></li>
<li><a href="https://hex.pm/packages/digital_token/2.0.0" rel="nofollow">digital_token 2.0.0</a></li>
</ul>
<p>I’m definitely looking for any feedback on <code>ex_money</code> before I publish the final 6.0 release.</p>
<h3><a name="p-387621-changes-2" class="anchor" href="#p-387621-changes-2" aria-label="Heading link" rel="nofollow"></a>Changes</h3>
<p>Overall there are no functional changes, only platform changes:</p>
<ul>
<li>add <code>localize</code></li>
<li>remove <code>ex_cldr</code></li>
<li>move all custom and private currency registry functions to <code>Money.Currency</code>. They were removed from <code>Localize.Currency</code>. This is a much cleaner responsibility model.</li>
<li>remove <code>gringotts</code> optional dependency</li>
<li>remove <code>:json_library</code> configuration (standardise on <code>:json</code>)</li>
<li>requires at least Elixir 1.17</li>
</ul> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="387621" data-batch-url="/posts/batch_likers">
                        12
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/ex-money-money-with-currency-type/20143/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-387621" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="387621"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #11"></div>
  </section>
</div>
    <div class="postbit" id="387643" data-post-id="387643">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jswanner" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jswanner/120/24585_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jswanner
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hey <a class="mention" href="/u/kip" rel="nofollow">@kip</a>,</p>
<p>After upgrading to <code>ex_money</code> <code>6.0.0-rc.0</code> I was able to drop all the <code>ex_cldr*</code> libraries, and everything is working great!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="387643" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/ex-money-money-with-currency-type/20143/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-387643" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="387643"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #12"></div>
  </section>
</div>
    <div class="postbit" id="387644" data-post-id="387644">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="kip" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/kip/120/1440_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  kip
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>ex_cldr Core Team</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Thanks for the feedback - and I’m glad it’s positive!  I’m hoping others have a similar experience so I can confidently publish the format 6.0.0 version soon.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="387644" data-batch-url="/posts/batch_likers">
                        3
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/ex-money-money-with-currency-type/20143/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-387644" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="387644"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #13"></div>
  </section>
</div>
    <div class="postbit" id="388160" data-post-id="388160">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="webuhu" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/webuhu/120/11495_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  webuhu
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>We shipped new version of <code>ex_money</code> to production last week - without any issues.<br>
Thanks again for your great work.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="388160" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/ex-money-money-with-currency-type/20143/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-388160" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="388160"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #14"></div>
  </section>
</div>
    <div class="postbit" id="388872" data-post-id="388872">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="kip" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/kip/120/1440_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  kip
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>ex_cldr Core Team</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I’ve just published the first in a new series of libraries focused on input. First up is <a href="https://hex.pm/packages/ex_money_input" rel="nofollow">ex_money_input</a>.  Soon to come is one for plain numbers (which will be part of a  new library, <code>localize_inputs</code>).</p>
<p>It’s the form-input layer for the <a href="https://github.com/ex-money" rel="nofollow"><code>elixir-money</code></a> family. It rounds out the trio: <a href="https://hex.pm/packages/ex_money" rel="nofollow"><code>ex_money</code></a> for the data type, <a href="https://hex.pm/packages/ex_money_sql" rel="nofollow"><code>ex_money_sql</code></a> for Ecto persistence, and now <a href="https://hex.pm/packages/ex_money_input" rel="nofollow">ex_money_input</a> for users actually typing a value into a form.</p>
<h3><a name="p-388872-example-component-usage-1" class="anchor" href="#p-388872-example-component-usage-1" aria-label="Heading link" rel="nofollow"></a>Example component usage</h3>
<pre data-code-wrap="heex"><code class="lang-heex">&lt;.money_input
  form={@form}
  field={:price}
  default_currency={:USD}
  currency_picker={true}
  preferred_currencies={[:USD, :EUR, :GBP, :JPY]}
/&gt;
</code></pre>
<h3><a name="p-388872-features-2" class="anchor" href="#p-388872-features-2" aria-label="Heading link" rel="nofollow"></a>Features</h3>
<ul>
<li>A <code>&lt;.money_input&gt;</code> HEEx component with a paired <code>&lt;.currency_picker&gt;</code>. Locale determines the separators, symbol position, fractional digits (USD 2, JPY 0, BHD 3), and even the digit system (Arabic, Persian).</li>
<li>A small JS hook wrapping <a href="https://autonumeric.org/" rel="nofollow">AutoNumeric</a> (MIT, Alexandre Bonneau) for live formatting and cursor preservation. Optional — without it the input still works server-side. But <code>AutoNumeric</code> does a great job on the UX side, respecting and understanding different locale grouping and fraction separators.</li>
<li>An Ecto changeset bridge (<code>cast_money/3</code>, <code>validate_money/3</code>) with currency-aware precision and bounds.</li>
<li>A headless cast/validate/currency layer that’s usable without Phoenix.</li>
</ul>
<h3><a name="p-388872-money-input-playground-3" class="anchor" href="#p-388872-money-input-playground-3" aria-label="Heading link" rel="nofollow"></a>Money Input Playground</h3>
<p>There’s a Plug-based visualizer that demos every component across CLDR locales and currencies.</p>
<p>It’s deployed at <a href="https://elixir-money-input.fly.dev" rel="nofollow">https://elixir-money-input.fly.dev</a> so you can explore its potential use for your projects.</p>
<p></p><div class="lightbox-wrapper"><a class="lightbox" href="https://forum.elixirforum.com/uploads/default/original/3X/3/c/3c8269f03d6e71a71ad53877af29f4a9610dda1b.jpeg" data-download-href="https://forum.elixirforum.com/uploads/default/3c8269f03d6e71a71ad53877af29f4a9610dda1b" title="image" rel="nofollow"><img src="https://forum.elixirforum.com/uploads/default/original/3X/3/c/3c8269f03d6e71a71ad53877af29f4a9610dda1b.jpeg" alt="image" data-base62-sha1="8Di3D4zYo3aS6bHYC8MTHBzGC8j" width="690" height="955" data-dominant-color="F4F4F7"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">image</span><span class="informations">1200×1662 85.5 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div><p></p>
<h3><a name="p-388872-links-4" class="anchor" href="#p-388872-links-4" aria-label="Heading link" rel="nofollow"></a>Links</h3>
<p>Docs: <a href="https://hexdocs.pm/ex_money_input" rel="nofollow">https://hexdocs.pm/ex_money_input</a><br>
Source: <a href="https://github.com/ex-money/money_input" rel="nofollow">https://github.com/ex-money/money_input</a><br>
Integration guide: <a href="https://hexdocs.pm/ex_money_input/integration.html" rel="nofollow">https://hexdocs.pm/ex_money_input/integration.html</a></p>
<p>Feedback welcome — particularly on the locales you actually ship to. The CLDR coverage is wide but there’s always a corner case.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="388872" data-batch-url="/posts/batch_likers">
                        10
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/ex-money-money-with-currency-type/20143/16">Post #15</a>
	                </div>
	            </div>
              <div id="likers-container-388872" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="388872"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>