File tree Expand file tree Collapse file tree 2 files changed +2
-34
lines changed
client/packages/lowcoder/src
comps/comps/responsiveLayout Expand file tree Collapse file tree 2 files changed +2
-34
lines changed Original file line number Diff line number Diff line change @@ -277,7 +277,8 @@ class ResponsiveLayoutImplComp extends ResponsiveLayoutBaseComp implements ICont
277277 } ,
278278 } as CompAction ;
279279 }
280- if ( value . type === "delete" && columns . length <= 1 ) {
280+ const { path } = action ;
281+ if ( value . type === "delete" && path [ 0 ] === 'columns' && columns . length <= 1 ) {
281282 messageInstance . warning ( trans ( "responsiveLayout.atLeastOneColumnError" ) ) ;
282283 // at least one column
283284 return this ;
Original file line number Diff line number Diff line change @@ -176,39 +176,6 @@ function CreateModal(props: CreateModalProp) {
176176 </ div >
177177 ) ;
178178 } ) }
179- { /* <Form.Item
180- name="clientId"
181- label="Client ID"
182- rules={[{ required: true }]}
183- >
184- <Input
185- placeholder={trans("idSource.formPlaceholder", {
186- label: 'Client ID',
187- })}
188- autoComplete="off"
189- />
190- </Form.Item>
191- <Form.Item
192- name="clientSecret"
193- label={
194- <PasswordLabel>
195- <span>{"Client secret"}:</span>
196- <CloseEyeIcon />
197- </PasswordLabel>
198- }
199- rules={[{
200- required: true,
201- message: trans("idSource.formPlaceholder", {
202- label: 'Client secret',
203- })
204- }] }
205- >
206- <Input
207- type="password"
208- placeholder={trans("idSource.encryptedServer")}
209- autoComplete="off"
210- />
211- </Form.Item> */ }
212179 </ FormStyled >
213180 </ CustomModalStyled >
214181 ) ;
You can’t perform that action at this time.
0 commit comments