You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just wondering - would it not be better to not change that format? If a database is configured a certain way with certain lengths this can pose a problem. Currently nova is relatively new and as it becomes more widely adopted I believe it would pose a bigger issue.
I would suggest that the format is not applied on setter but on a getter and input only. Leaving the database table format as is and using the format visually. What are your thoughts on this? That would make your nova field be more aesthetic and maybe have a save-with-format option that will write to database if needed.
@johnpaulmedina That is an interesting request. I will have to take a look at this. The behavior that is currently implemented appears to be a common practice with a lot of the Nova fields that I have used. With that said, I can see where having the type of implementation that you have requested would be valuable.
I just wondered if it would be better to store the number in the database in E.164 format (0701234567) for all countries and use countrybased format when displaying the number (070-123 45 67) for sweden for example?
And for me the number is stored just like that 070-123 45 67. I think I would like it to be better if it was stored 0701234567. Or am I wrong?
It would be nice if the country code (+46) could be added in some way. I use the country field to store country code in a separate column at the moment, but if the user doesn´t enter the country code I don´t know where to get that from?
Just wondering - would it not be better to not change that format? If a database is configured a certain way with certain lengths this can pose a problem. Currently nova is relatively new and as it becomes more widely adopted I believe it would pose a bigger issue.
I would suggest that the format is not applied on setter but on a getter and input only. Leaving the database table format as is and using the format visually. What are your thoughts on this? That would make your nova field be more aesthetic and maybe have a save-with-format option that will write to database if needed.
Originally posted by @johnpaulmedina in #4 (comment)
The text was updated successfully, but these errors were encountered: