Commit Graph

1641 Commits

Author SHA1 Message Date
Shams
cbeeb4997c Merge branch 'develop' into ui-bug-fixes 2023-05-10 17:04:57 +02:00
Rob Jackson
a292667c92 Fix Safari turning decimal number inputs to 0
Chrome has some slightly unique input[type="number"] handling behaviour, where it restricts the characters that can be typed to numeric characters. Under-the-hood, Chrome withholds certain invalid input states from being emitted as change events – so we only receive change events for valid numbers.

Safari behaves slightly differently. It allows any characters to be entered and emits a change event on each character press, but its internal "value" is only set if the typed input is a valid number. The change events then either come through with a numeric value represented, or as an empty string.

For example, when typing "12.34" we receive onChange events with "1", "12", "", "12.3", and "12.34".

On that third onChange event when we pass "" up to React, React happily ignores the change (I _think_ bceause the incoming value "" already matches the element's value of ""; nonetheless, React have solved this issue for us).

When we parse the input via `Number(v)` we encounter problems. `Number("")` resolves to `0`, React sets the input's value to `0`, and the user is therefore unable to type decimal values successfully.

The solution for this is not to cast to a number at all. We'll rely on default browser behaviour to manage the input for us (allowing users to enter invalid characters), but we're still safe because the element's internal state will always be numeric.

In the scenario that a customer does try enter an invalid input "abc123", the input field simply blanks itself when they leave it.
2023-05-10 15:24:25 +01:00
staticGuru
54725bcd19 feat(filter): add the update filter value from url 2023-05-09 19:40:11 +05:30
Guruvignesh
efbb50fd90 feat(filter): update the url value based on filter change 2023-05-09 13:17:44 +05:30
mnmt
9f29defc8b add edit functionality for options of single and multi select fields 2023-05-07 11:10:30 +05:30
Anish Roy
c688be3881 feat: Array value formatted on display cells 2023-05-05 16:44:22 +05:30
Anish Roy
de84161b5c fix: context right click menu breaks when cell being selected is in editor mode 2023-05-05 16:31:09 +05:30
Anish Roy
3a3f4656bc fix: Action button on table with frozen column, floats with high z index 2023-05-05 15:50:24 +05:30
Anish Roy
20f54ed3b0 fix: JSON column configuration overlapping fields 2023-05-05 15:44:41 +05:30
Shams
2e62e841a2 Merge pull request #1237 from iamanishroy/new-field-subtable-array
Array Subtable bug fixes
2023-05-04 19:35:35 +02:00
Shams
9c6bae2dcb Merge branch 'develop' into status-bug-fix 2023-05-04 19:31:38 +02:00
alceil
60d4213b43 Fix label not showing in status type 2023-05-03 20:09:26 +05:30
Bobby Wang
a2fde2f91c update unable to upload file link to new doc 2023-05-02 23:42:17 +08:00
Anish Roy
3b493a6785 fix: clear value not working 2023-05-02 14:54:42 +05:30
Anish Roy
09a7ab8b68 removed logs 2023-05-02 14:37:28 +05:30
Anish Roy
9f6bc117c5 fix: delete first row in Array Sub Table 2023-05-02 14:36:17 +05:30
mnmt7
2715a8094a Implement and Add SideDrawerField for Formula Field (#1225)
* Implement and Add SideDrawerField for Formula Field

* Modify Formula SideDrawerField to use already calculated value

* fix unneccessary db update on formula calculations

---------

Co-authored-by: Han Tuerker <burhan.tuerker@gmail.com>
2023-05-02 02:29:02 +03:00
mnmt
b7d661eaef add hotkey and right-click context copy functionality to fields 2023-04-30 14:58:40 +05:30
shamsmosowi
d302dace85 remove comment for function body restriction 2023-04-29 21:02:47 +02:00
Shams
6086e25863 Merge pull request #1228 from iamanishroy/new-field-subtable-array
Bug Fix - could not find row
2023-04-25 15:35:17 +02:00
Anish Roy
0d9c56487f get(row, field.fieldName) 2023-04-25 18:50:07 +05:30
Anish Roy
6839c1ea0f removed logs 2023-04-25 18:43:52 +05:30
Anish Roy
170687ed27 fixed - could not find row 2023-04-25 18:31:19 +05:30
shamsmosowi
cbabc8d0c2 array subTable 2023-04-24 23:30:57 +02:00
Anish Roy
d852459c9e bug fix: meta getting to firstore 2023-04-21 14:33:54 +05:30
Anish Roy
39f8926dae description 2023-04-21 14:01:35 +05:30
Anish Roy
65dbc1876f Merge branch 'develop' into new-field-subtable-array 2023-04-21 12:24:21 +05:30
shamsmosowi
40bb8a8158 support nested field parent label 2023-04-20 15:45:14 +02:00
shamsmosowi
3fc5b13f06 Merge branch 'develop' of https://github.com/rowyio/rowy into develop 2023-04-20 10:46:25 +02:00
shamsmosowi
1c95fe6b50 allow single/multiselect to be copy/pasted 2023-04-20 10:46:16 +02:00
Anish Roy
f5557f8072 worked on requested changes 2023-04-19 19:28:01 +05:30
Shams
9f62c21377 Merge pull request #1208 from rowyio/yaman/esm
Add ESM support
2023-04-19 00:05:50 +02:00
Shams
666c8689d6 Merge pull request #1214 from iamanishroy/import-files
ROWY-1102: airtable Date and Datetime in import bug fix
2023-04-18 22:48:11 +02:00
Shams
602b5ec990 Merge branch 'develop' into clipboard-typo-fix 2023-04-18 22:47:43 +02:00
Anish Roy
ee5de5e0b7 update bug fix -> transaction complete 2023-04-18 16:18:32 +05:30
Anish Roy
a41bc5d256 transaction [WIP] 2023-04-18 15:32:16 +05:30
Anish Roy
83080d267b fixed default values 2023-04-17 21:25:10 +05:30
Anish Roy
d53b9226f1 MAX_CONCURRENT_TASKS 2023-04-17 10:35:15 +05:30
Anish Roy
e802db5725 removed key errors 2023-04-14 18:42:43 +05:30
Anish Roy
dd481415fc removed _rowy_arrayTableData and expanded _rowy_ref 2023-04-14 17:56:12 +05:30
Anish Roy
af071d8f58 airtable date parser fix 2023-04-13 13:30:33 +05:30
Prabhat Sachdeva
8b5d2a353d Fixed a typo, changed clilboard to clipboard 2023-04-13 12:38:20 +05:30
Anish Roy
da0cf161df worked on array subtable 2023-04-12 17:43:07 +05:30
Bobby Wang
5bf33f097c optimise endpoint call for listSecrets 2023-04-10 15:18:34 +08:00
Yaman Katby
d0dd89b00b update default value function template 2023-04-06 17:38:53 +03:00
Yaman Katby
8254623c2c fix redo action template 2023-04-06 17:38:40 +03:00
Yaman Katby
e841c994e5 Update the derivative default template 2023-04-06 17:30:21 +03:00
Yaman Katby
13c1b69386 update the action and the redo code templates 2023-04-06 17:26:03 +03:00
Yaman Katby
0bc104d07e convert the import into comment 2023-04-06 17:18:59 +03:00
Yaman Katby
bc815afe74 update the connector field default value 2023-04-06 17:16:26 +03:00