<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: UI5 input prefix in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/ui5-input-prefix/qaa-p/12683891#M4759069</link>
    <description>&lt;P&gt;I would say the &lt;A href="https://ui5.sap.com/#/api/sap.m.MaskInput" target="_blank"&gt;Mask Input field&lt;/A&gt; is a good fit for what you are describing. Check out the code for the Product activation key field in the corresponding &lt;A href="https://ui5.sap.com/#/entity/sap.m.MaskInput/sample/sap.m.sample.MaskInput" target="_blank"&gt;sample&lt;/A&gt;, this should be a good start.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2022 17:56:11 GMT</pubDate>
    <dc:creator>Margot</dc:creator>
    <dc:date>2022-11-30T17:56:11Z</dc:date>
    <item>
      <title>UI5 input prefix</title>
      <link>https://community.sap.com/t5/technology-q-a/ui5-input-prefix/qaq-p/12683889</link>
      <description>&lt;P&gt;Hello, I'd like to add a prefix to an input field. This prefix should not be editable/selectable by the user i.e. the cursor should simply start at the end of this prefix. This is simply to let the user know how the final input will look like; for example, when creating an e-mail name some websites show the @domain.com behind the user's input. I want exactly that just in front of the input. Does anyone know how I would be able to achieve something like this? Every idea is much appreciated &lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 17:12:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/ui5-input-prefix/qaq-p/12683889</guid>
      <dc:creator>former_member966252</dc:creator>
      <dc:date>2022-11-30T17:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: UI5 input prefix</title>
      <link>https://community.sap.com/t5/technology-q-a/ui5-input-prefix/qaa-p/12683890#M4759068</link>
      <description>&lt;P&gt;Thank you for visiting SAP Community to get answers to your questions.&lt;/P&gt;&lt;P&gt;As you're looking to get most out of your community membership, please consider include a profile picture to increase user engagement &amp;amp; additional resources to your reference that can really benefit you:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Profile &lt;A href="https://developers.sap.com/tutorials/community-profile.html"&gt;https://developers.sap.com/tutorials/community-profile.html&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Tips for Questions: &lt;A href="https://community.sap.com/resources/questions-and-answers"&gt;https://community.sap.com/resources/questions-and-answers&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Consider to take our Q&amp;amp;A tutorial at: &lt;A href="https://developers.sap.com/tutorials/community-qa.html" target="_blank"&gt;https://developers.sap.com/tutorials/community-qa.html&lt;/A&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I hope you find this advice useful, and we're happy to have you as part of SAP Community!&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 17:12:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/ui5-input-prefix/qaa-p/12683890#M4759068</guid>
      <dc:creator>AlexGourdet</dc:creator>
      <dc:date>2022-11-30T17:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: UI5 input prefix</title>
      <link>https://community.sap.com/t5/technology-q-a/ui5-input-prefix/qaa-p/12683891#M4759069</link>
      <description>&lt;P&gt;I would say the &lt;A href="https://ui5.sap.com/#/api/sap.m.MaskInput" target="_blank"&gt;Mask Input field&lt;/A&gt; is a good fit for what you are describing. Check out the code for the Product activation key field in the corresponding &lt;A href="https://ui5.sap.com/#/entity/sap.m.MaskInput/sample/sap.m.sample.MaskInput" target="_blank"&gt;sample&lt;/A&gt;, this should be a good start.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 17:56:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/ui5-input-prefix/qaa-p/12683891#M4759069</guid>
      <dc:creator>Margot</dc:creator>
      <dc:date>2022-11-30T17:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: UI5 input prefix</title>
      <link>https://community.sap.com/t5/technology-q-a/ui5-input-prefix/qaa-p/12683892#M4759070</link>
      <description>&lt;P&gt;Thanks a lot for the help! I have looked into MaskInput fields and it seems like one has to specify a fixed length of characters but that's not what I want. Do you know any workaround for that?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 12:05:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/ui5-input-prefix/qaa-p/12683892#M4759070</guid>
      <dc:creator>former_member966252</dc:creator>
      <dc:date>2022-12-01T12:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: UI5 input prefix</title>
      <link>https://community.sap.com/t5/technology-q-a/ui5-input-prefix/qaa-p/12683893#M4759071</link>
      <description>&lt;P&gt;Also, there seems to be a bug where the 'a' character is somehow seen as a maskformatSymbol? only happens with that character. Plus, when binding the mask to an object from a model and this value gets updated, the object value gets appended to the mask instead of replaced resulting in very weird behavior. Are you aware of this? If so, how can I fix this?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 12:05:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/ui5-input-prefix/qaa-p/12683893#M4759071</guid>
      <dc:creator>former_member966252</dc:creator>
      <dc:date>2022-12-01T12:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: UI5 input prefix</title>
      <link>https://community.sap.com/t5/technology-q-a/ui5-input-prefix/qaa-p/12683894#M4759072</link>
      <description>&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;Unfortunately sap.m.MaskInput offers only fixed-length mask, so you cannot use it in cases where you need various-length input. For your use case you can use a combination of label and regular input, like in this &lt;A href="https://jsbin.com/xihudediso/edit?html,output" target="_blank"&gt;snippet&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Also, inside you can find how to deal with small 'a' - it is not a bug - 'a' and '9' are default mask rules, where 'a' corresponds on regex "[A-Za-z]", and '9' corresponds on regex "[0-9]". If you want to use these symbols as immutable, you can escape them by prepending with ^ character, something like: mask: "^addon-xxxxxx".&lt;/P&gt;&lt;P&gt;For the problem with binding - I am not sure what is exact case, so can you provide some snippet that demonstrates the issue?&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Nikolay Hristov&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 09:19:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/ui5-input-prefix/qaa-p/12683894#M4759072</guid>
      <dc:creator>n_hristov97</dc:creator>
      <dc:date>2022-12-02T09:19:48Z</dc:date>
    </item>
  </channel>
</rss>

