aboutsummaryrefslogtreecommitdiff
path: root/src/RegexField.js
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2019-02-11 00:13:45 -0500
committerDeterminant <ted.sybil@gmail.com>2019-02-11 00:13:45 -0500
commit7ec26813a0cae0996f2d5873b9bdd1aeede68d41 (patch)
tree442bccf6f7de6d8b6e32a33c145377d62f5f88ab /src/RegexField.js
parent8a0f7d58a136e87f71b790bbbb489af111472796 (diff)
support custom color
Diffstat (limited to 'src/RegexField.js')
-rw-r--r--src/RegexField.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/RegexField.js b/src/RegexField.js
index d4080a1..f1bc2e8 100644
--- a/src/RegexField.js
+++ b/src/RegexField.js
@@ -79,7 +79,7 @@ export function CalendarField(props) {
}
return (
<RegexFieldWithStyles
- value={props.value}
+ value={props.value.cal}
options={options}
onChange={props.onChange}
theme={props.theme} />);
@@ -91,7 +91,7 @@ export function EventField(props) {
options[any.id] = any;
return (
<RegexFieldWithStyles
- value={props.value}
+ value={props.value.event}
options={options}
onChange={props.onChange}
theme={props.theme} />);