This commit is contained in:
2019-04-01 23:55:04 +00:00
parent 00cd7b8af9
commit e4837d44a4
3 changed files with 96 additions and 38 deletions

View File

@@ -14,6 +14,14 @@ TODO CLIENT STUFF
TODO NEXT
Issues:
won't show multiple lines in v-alert from my code but will if static element with <br/> at end of each line
Not sure this is the correct approach, it's needing to iterate the return error object multiple times which is a code smell
- Once to see if there are errors and another time to build up the errors
- Maybe it should be called once only as a method after the server returns the results and the gzvalidate populates a key on the data object in the form which in turn drives the error box?
Get broken server rule to display in vue properly
@@ -39,6 +47,10 @@ Simulate server broken rules so can integrate into ui and rule system
- Test on mobile and desktop all browsers before moving on, it must be solid with error handling (required, after before etc) and etc and then if all is well we can move on to the other field types
DON'T code the user options with the currency symbol etc until after it's all been worked out client side. Use static values instad in locale.
Locale should fetch those settings the first time it sees they are not present so that they are refreshed upon use and are not stored in localstorage
(or should they be? anyway, can work that out later)