mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Add HelpTextWarning support in FieldDefinition
(cherry picked from commit 0e07d54ee77d5f83716e17b6757e23f38ff73694) Closes #3793
This commit is contained in:
parent
2d320ebc8c
commit
e4341a1b60
5 changed files with 20 additions and 13 deletions
|
@ -64,6 +64,7 @@ function ProviderFieldFormGroup(props) {
|
|||
name,
|
||||
label,
|
||||
helpText,
|
||||
helpTextWarning,
|
||||
helpLink,
|
||||
placeholder,
|
||||
value,
|
||||
|
@ -97,6 +98,7 @@ function ProviderFieldFormGroup(props) {
|
|||
name={name}
|
||||
label={label}
|
||||
helpText={helpText}
|
||||
helpTextWarning={helpTextWarning}
|
||||
helpLink={helpLink}
|
||||
placeholder={placeholder}
|
||||
value={value}
|
||||
|
@ -123,6 +125,7 @@ ProviderFieldFormGroup.propTypes = {
|
|||
name: PropTypes.string.isRequired,
|
||||
label: PropTypes.string.isRequired,
|
||||
helpText: PropTypes.string,
|
||||
helpTextWarning: PropTypes.string,
|
||||
helpLink: PropTypes.string,
|
||||
placeholder: PropTypes.string,
|
||||
value: PropTypes.any,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue