* added static map field
* leaflet draw plugin added to map control
* Editable layer working no icons
* Save and load data in form field
* images and icons working
* Locate plugin added, and loads on geolocation
* organized map control code
* loads layer as per form
* new form clears editableLayers
* update: leaflet 1.2.0 and leaflet-draw 0.4.2
* changed to ERPNext colors
* Multiple map fields and fixes
* fixes codacy suggestions
* loaded geojson data editable
* Map layers editable
* add only one layer on draw:create
* code organized with helper functions
* Replaced Leaflet Draw with Leaflet Editable
* read values from database
* layers saved in db
* Using Patched Leaflet Draw (mobile-friendly)
* Working Map field with multiple forms open
* Leaflet Draw css image path fix
* Leaflet Draw
Fixes Leaflet draw css image paths
Fixes Circle marker and Circle
* locate to geolocation or set featurecollection as center
* [fix] leaflet fitBounds padding 50,50
* [Fix] Leaflet (auto) locate
* Map field basic test
* added refresh button on map
* Mute map geojson in print format
* renamed Map field to Geolocation
* Suggested changes and fixes
* eslint disable
* csslint allow important
* [start] display barcode based on input
* [wip]
* [barcode] use set_value
* parse and set
* remove quagga
* [barcode] set in db
* [fix] set height
* cleanup
* remove from build.json, require instead
* [fix] declare JsBarcode global in .eslintrc
* Added new Color picker pallet for calendar
* Review changes for Color Picker.
* Refactor code as per reviews.
* Refactor code for blur event.
* Add Color to db_schema
* set_value on click, minor cleanup
* Remove test field from Event
* styling
* revert event.json
* [fix] validate column length while creating doctype or custom field
* [fix] not allow user to add custom fields in [Custom Field, Customize Form Field, Customize Form, Custom Script, Property Setter]
* [fix] check if fieldname is conflicting with method names
* [fix] don't allow Custom Script and Property Setter to be updated via customize form
* - Add controller for signature field, including buttons for save and reset
- Add library and style
* Add DB mapping for Signature field -> fix bug not saving
Add empty image, and auto load image when loading form
Add option for Signature field type on Doctype form
* Make field uneditable after submitting
* Remove console log and revert adding empty lines
* Update layout, remove edit mode/button, make save button compact. Refactor and use change event to trigger save.
* [cleanup] Signature Control
During the first init process for creating tables, if one field marked True for both "unique" and "search_index" , table creation will be failed.
for example :
create table `tabItem Barcode` (
name varchar(140) not null primary key,
creation datetime(6),
modified datetime(6),
modified_by varchar(140),
owner varchar(140),
docstatus int(1) not null default '0',
parent varchar(140),
parentfield varchar(140),
parenttype varchar(140),
idx int(8) not null default '0',
`item_barcode` varchar(140) unique,
`sku_id` varchar(140),
`unit_qty` varchar(140),
`_comments` text,
`_assign` text,
`_liked_by` text,
`store` varchar(140),
`retail_price` varchar(140),
`_user_tags` text,
`uom` varchar(140),
index `item_barcode`(`item_barcode`),
index parent(parent))
ENGINE=InnoDB
ROW_FORMAT=COMPRESSED
CHARACTER SET=utf8mb4
COLLATE=utf8mb4_unicode_ci