Oliver
6288088a65
Adds "barcode" field handler for API forms
2021-10-03 11:36:41 +11:00
Oliver
9eaf4a09da
Linting fixes
2021-10-03 01:36:46 +10:00
Oliver
6ff99b15c3
Clear errors once fixed
2021-10-03 01:25:45 +10:00
Oliver
e9fa0f5eb4
Remove some debug messages
2021-10-03 01:21:27 +10:00
Oliver
2886f7c930
Display non-field errors as returned from the server
2021-10-03 01:20:37 +10:00
Oliver
b7f9f1c55f
Handle form posting with complex "layered" data
...
- Handle data rendering
- Handle returned errors
2021-10-03 00:40:26 +10:00
Oliver
80b203ce7b
Reimplement instance data
2021-10-02 23:47:33 +10:00
Oliver
ce31d968b3
Refactoring for APIFormField class
...
- Class now stores field definitions as returned from the server
- Complex lookup for multi-level form structures
- Improved / increased error handling
2021-10-02 23:34:37 +10:00
Oliver
529510bc5c
Display HTTP error codes on form errors
2021-10-02 22:33:59 +10:00
Oliver
2f8d02b0be
API_Form: Allow customizable icon
...
- Also fixes for API search
2021-10-02 22:31:28 +10:00
Oliver
961a35d410
bug fix for "owner" rendering
2021-09-29 00:30:09 +10:00
Oliver
cbb668687e
Set default location for part
...
- Used as "default" when creating new StockItem for that part
2021-09-29 00:24:21 +10:00
Oliver
94cca19ccc
Bug fix for API forms
2021-09-29 00:10:07 +10:00
Oliver
a9b96f22a3
Fixes for purchase order editing
2021-09-28 23:53:26 +10:00
Oliver
be36811cb3
More linting again
2021-09-28 21:34:11 +10:00
Oliver
77bac9af36
Yet more linting
2021-09-28 20:35:19 +10:00
Oliver
ad0cc36540
More linting work
2021-09-28 20:24:55 +10:00
Oliver
c1152ee286
Fixes for type casting
2021-09-28 17:53:14 +10:00
Oliver
68d542cb6b
Add API form support for date fields
2021-09-28 01:14:58 +10:00
Oliver
2720280ada
Remove floating action button
2021-08-16 20:40:29 +10:00
Oliver
8bca501fc4
Allow file fields for api forms
2021-08-16 20:22:05 +10:00
Oliver
1896b71533
Improve form spacing
2021-08-16 11:15:59 +10:00
Oliver
4243876111
Create new stock item from part detail view
2021-08-15 18:22:11 +10:00
Oliver
a4c96694bb
Refactorin'
2021-08-15 15:34:40 +10:00
Oliver
3e3ab680f6
Add more fields for stock item creation
2021-08-15 14:53:13 +10:00
Oliver
3fb6b38930
Create new stock item
2021-08-15 14:44:40 +10:00
Oliver
a09d0b6887
rendering support for "part" foreign key
2021-08-15 14:32:46 +10:00
Oliver
81602512a5
Display error message when form submission returns error
2021-08-15 13:44:27 +10:00
Oliver
6d0282519d
API forms return the JSON data to the onSuccess function
2021-08-10 14:33:08 +10:00
Oliver
d6a2a41ab2
Enable multi-line text editing for API forms
...
- User can edit part notes
- User can edit stock item notes
2021-07-28 16:19:42 +10:00
Oliver
08eb6fc4b1
Remove typeahead library
2021-07-26 23:04:43 +10:00
Oliver
978cefd6bf
edit stock item
...
- Render choice fields
2021-07-26 22:26:56 +10:00
Oliver
e8cb002e3c
Edit StockLocation
2021-07-26 22:03:37 +10:00
Oliver
bc713dfdcd
API form for editing PartCategory
...
- Custom related field renderer function
- Grab related field data from the server
2021-07-26 21:56:29 +10:00
Oliver
377da3c2fb
Handle "filters" for related fields
2021-07-26 21:02:24 +10:00
Oliver
2bdadc2140
Cleanup
2021-07-26 17:28:16 +10:00
Oliver
d07b704014
Looks like dropdown_search is the way to go!
2021-07-26 17:21:17 +10:00
Oliver
ca4297ae6d
Working on implementation of a related field
2021-07-25 23:26:27 +10:00
Oliver
1e4e75dfb7
Refactor colors used in the app
2021-07-23 12:57:56 +10:00
Oliver
7a6457f870
Improve rendering for checkbox fields
2021-07-23 12:36:03 +10:00
Oliver
5c2f747b93
Improve formatting of error messages
...
Also run onSuccess function when form completes
2021-07-23 09:42:05 +10:00
Oliver
64aed4b31a
Refactor modal form into a new stateful widget
2021-07-22 17:49:43 +10:00
Oliver
ca6226a596
Form updates
2021-07-20 19:14:44 +10:00
Oliver
27caf3983a
Add callback functions
2021-07-16 17:35:56 +10:00
Oliver
faf20030e3
Set error messgaes for form fields
2021-07-16 17:30:31 +10:00
Oliver
e470fb60a2
Fix package names
2021-07-16 17:10:03 +10:00
Oliver
284c59d8f8
Construct a custom dialog
2021-07-16 01:04:55 +10:00
Oliver
6d045c1aac
Support boolean and string fields
...
- Pass existing data to the API form to pre-populate
2021-07-16 00:48:04 +10:00
Oliver
4331269128
OOPs I did it again
2021-07-16 00:05:28 +10:00
Oliver
7291dc9272
Extract field information from the server
2021-07-15 23:58:09 +10:00