Removed submitLabel from data-type flow input
as it wasn't being used, (there was no Submit button)
This commit is contained in:
@@ -52,9 +52,7 @@ export class UmbInputDataTypeElement extends UUIFormControlMixin(UmbLitElement,
|
||||
new UmbModalRouteRegistrationController(this, UMB_DATA_TYPE_PICKER_FLOW_MODAL)
|
||||
.onSetup(() => {
|
||||
return {
|
||||
data: {
|
||||
submitLabel: 'Submit',
|
||||
},
|
||||
data: {},
|
||||
value: { selection: this._ids ?? [] },
|
||||
};
|
||||
})
|
||||
|
||||
@@ -32,7 +32,6 @@ export class UmbDataTypePickerFlowModalElement extends UmbModalBaseElement<
|
||||
|
||||
public override set data(value: UmbDataTypePickerFlowModalData) {
|
||||
super.data = value;
|
||||
this._submitLabel = this.data?.submitLabel ?? this._submitLabel;
|
||||
}
|
||||
|
||||
@state()
|
||||
@@ -41,9 +40,6 @@ export class UmbDataTypePickerFlowModalElement extends UmbModalBaseElement<
|
||||
@state()
|
||||
private _groupedPropertyEditorUIs: GroupedItems<ManifestPropertyEditorUi> = {};
|
||||
|
||||
@state()
|
||||
private _submitLabel = 'Select';
|
||||
|
||||
@state()
|
||||
private _currentPage = 1;
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
import { UmbModalToken } from '@umbraco-cms/backoffice/modal';
|
||||
|
||||
export interface UmbDataTypePickerFlowModalData {
|
||||
submitLabel?: string;
|
||||
}
|
||||
export interface UmbDataTypePickerFlowModalData {}
|
||||
|
||||
export type UmbDataTypePickerFlowModalValue = {
|
||||
selection: Array<string>;
|
||||
|
||||
Reference in New Issue
Block a user