Skip to content

Commit

Permalink
Merge pull request #1370 from massenergize/fix-event-action-vendors-c…
Browse files Browse the repository at this point in the history
…har-limit

Fix: Form title character limit
  • Loading branch information
archx3 authored Jul 15, 2024
2 parents 97a6c48 + d05b87c commit ccaab51
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/components/Pages/ActionsPage/StoryForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ var ActionFormData = [
placeholder: "Add a name... *",
required: true,
value: "",
maxlength:100
},
{
name: "featured_summary",
Expand Down Expand Up @@ -183,6 +184,7 @@ var EventsFormData = [
placeholder: "Add a name... *",
required: true,
value: "",
maxlength:100
},
{
name: "featured_summary",
Expand Down Expand Up @@ -274,6 +276,7 @@ var VendorFormData = [
placeholder: "Add a name... *",
required: true,
value: "",
maxlength:100
},
{
type: "input",
Expand Down
4 changes: 3 additions & 1 deletion src/components/Pages/Widgets/METextField.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ class METextField extends Component {
history,
readonly,
genericProps,
onBlur
onBlur,
...inputProps
} = this.props;
const defaultClasses = `form-control form-field-font-size`;
const styles = style ? { resize: "none", ...style } : null;
Expand All @@ -81,6 +82,7 @@ class METextField extends Component {
onBlur={onBlur}
autoComplete={history ? "on" : "off"}
readOnly={readonly}
{...inputProps}
{...(genericProps || {})}
/>
);
Expand Down

0 comments on commit ccaab51

Please sign in to comment.