Error: Binding a non-repeating control to a repeating field or group is not supported in SharePoint list forms

I am creating a sign-up list for a company potluck, and I want to show the number of certain dish types that have already been signed up for. Details:

I have two lists: Potluck Signup List, and Dish Type Lookup List.

The Dish Type Lookup has 3 columns: Dish Type, Count of Dish Type, and Dish Type Total. There are 3 records in the list showing the available Dish Types (Main Dish, Side Dish, Dessert).

The Signup list has a Lookup to Dish Type Lookup populating a dropdown with the items from the Dish Type column of the Lookup List. In the Lookup list, the Count of Dish Type is a lookup back to the Signup list showing the Count of Related items. It shows how many items in the Signup List have each Dish Type selected (i.e 3 for Main Dish or 2 for Dessert).

Dish Type Total is just a Number field I’m using because Lookup fields can’t be used for some things. I’ve got a workflow updating this value successfully.

I’ve created an InfoPath Form for the Signup List. What I’m having trouble with is that I want a label (Calculated Value field) to show the number of people who’ve already signed up to bring the type of dish chosen by the Form user. For example, say I am signing up to bring a Side Dish. I want to show on the Form that 2 other people have already signed up to bring Side Dishes.

I have two data connections in the InfoPath Form: Main (Signup List), and Secondary (Lookup List).

I added the Calculated Value field, and set it to retrieve the Dish Type Total from the Lookup List. By default, it will show only the first row’s value, so I wanted to add a filter. My filter is:

Dish Type (Secondary) = Type of Dish (Main)

When I try to publish though, I get the error in the question title. The full error is:

Control binding is not supported: Binding a non-repeating control to a repeating field or group is not supported in SharePoint list forms. To fix this problem, remove the control or replace it with a repeating control, such as repeating section or table.

When I try to add a table and put the Calculated Value field into it and create the binding to Dish Type Total (Secondary), I get the following error:

A repeating table must be bound to a field or group that repeats. In addition, the field or group must contain other fields.

I feel like I’m going in circles now, and have been working on this for hours. Web searches have proven fruitless. How can I get the current value of Dish Type Total from the Lookup List to show in a field on my InfoPath Form based on the value of the Dish Type Dropdown?

Thank you in advance. If I can clarify anything, please let me know!

Strange “Binding overwriting” in logs

I’m looking for a reason for freezes of the system. Just before the freeze I’ve got such lines in the logs:

cен 06 09:03:31 keddad-pc org.gnome.Shell.desktop[1896]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b). сен 06 09:03:31 keddad-pc org.gnome.Shell.desktop[1896]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10). сен 06 09:03:31 keddad-pc org.gnome.Shell.desktop[1896]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12). сен 06 09:03:31 keddad-pc org.gnome.Shell.desktop[1896]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c). сен 06 09:03:31 keddad-pc org.gnome.Shell.desktop[1896]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a). сен 06 09:03:31 keddad-pc org.gnome.Shell.desktop[1896]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11). сен 06 09:03:31 keddad-pc org.gnome.Shell.desktop[1896]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f). сен 06 09:03:31 keddad-pc org.gnome.Shell.desktop[1896]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e). сен 06 09:03:31 keddad-pc org.gnome.Shell.desktop[1896]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d). 

What are these? What kind of binding does it overwrite and why? Can it cause be the reason for freezes? UPD: These things appear to happen after each boot

Binding Octave Libraries

I am working with embed octave. While building the library, I am encountered this error, can anyone suggest solution for this.

/usr/local/lib/octave/5.1.0/oct/x86_64-pc-linux-gnu/PKG_ADD: /usr/local/lib/octave/5.1.0/oct/x86_64-pc-linux-gnu/init_gnuplot.oct: failed to load: /usr/local/lib/octave/5.1.0/oct/x86_64-pc-linux-gnu/init_gnuplot.oct: undefined symbol: _ZTI18handle_cdef_object

Thank you in advance.

Minimum Binding Quadrilateral

In an image processing project (using opencv with python), I am trying to detect as precisely as possible the location of a rectangular object in a photograph. My final goal is to output the 4 corners of the object.

For example, an image could look like this: Original image

In the first stage I am able to detect an approximate boundary for the image, like so: Initial Detection

Now, I have the above red convex polygon.

Next, I would like to compute the Minimum Area Bounding Quadrilateral, and this is where I’m stuck.

My question is, given a convex polygon, what is an efficient algorithm to find a minimum area bounding quadrilateral?

Thanks!

Binding caps-lock to a range of commands

I never use caps lock, so I’d like to use it as an addition custom modifier key. What modifier keys are there? Super, meta, hyper?

Could I turn the caps lock key into say “hyper” and then assign commands to hyper-a, hyper-b etc? How would I do that?

I’m thinking mainly of commands like beginning of line, end of line etc. Where would those commands (that are currently found to other legal so I can assign them?

Does Planar Binding require you to keep concentrating on the summoning spell?

Planar binding states:

With this spell, you attempt to bind a celestial, an elemental, a fey, or a fiend to your service. The creature must be within range for the entire casting of the spell. […] At the completion of the casting, the target must make a Charisma saving throw. On a failed save, it is bound to serve you for the duration. If the creature was summoned or created by another spell, that spell’s duration is extended to match the duration of this spell.

Most summoning spells require concentration. Would the original caster be required to continue concentrating on that spell even when planar binding extends the duration?

I was inclined to say “yes” to this, but it was pointed out that upcasting planar binding extends its duration to as much as a year and a day.

At Higher Levels. When you cast this spell using a spell slot of a higher level, the duration increases to 10 days with a 6th-level slot, to 30 days with a 7th- level slot, to 180 days with an 8th-level slot, and to a year and a day with a 9th-level spell slot.

It seems really unreasonable to expect concentration to be even over these extreme lengths of time.

Am I missing something here?

So, does planar binding require the original caster to maintain concentration on the extended summoning spell when one is present?

In Magento 2 Uncaught ReferenceError: Unable to process binding “optgroup: function(){return options }”

In magento 2, how to get a custom attribute option value in select field in checkout page

enter image description here

app/code/Cm/CustomerAttribute/Model/Plugin/Checkout/LayoutProcessor.php

    <?php namespace Bootsgrid\CustomerAttribute\Model\Plugin\Checkout; class LayoutProcessor {     /**      * @param \Magento\Checkout\Block\Checkout\LayoutProcessor $  subject      * @param array $  jsLayout      * @return array      */     public function afterProcess(         \Magento\Checkout\Block\Checkout\LayoutProcessor $  subject,         array  $  jsLayout     ) {          $  jsLayout['components']['checkout']['children']['steps']['children']['shipping-step']['children']         ['shippingAddress']['children']['shipping-address-fieldset']['children']['custom_field'] = [             'component' => 'Magento_Ui/js/form/element/abstract',             'config' => [                 'customScope' => 'shippingAddress.custom_attributes',                 'template' => 'ui/form/field',                 'elementTmpl' => 'ui/form/element/select',                 'options' => [],                 'id' => 'custom-field'             ],             'dataScope' => 'shippingAddress.custom_attributes.custom_field',             'label' => 'Custom Field',             'provider' => 'checkoutProvider',             'visible' => true,             'validation' => [],             'sortOrder' => 250,             'id' => 'custom-field',             'options' => [                     [                         'value' => '',                         'label' => 'Please select'                     ],                     [                         'value' => '1',                         'label' => 'One'                     ],                     [                         'value' => '2',                         'label' => 'Two'                     ],                     [                         'value' => '3',                         'label' => 'Three'                     ]                 ]         ];           return $  jsLayout;     } } 

Please some one help me to get a attribute option

Bootstrap-vue multiselect data binding: infinite loop

I’m trying to setup a multi select control from bootstrap-vue and bind it to a JSON object. The problem is that I need a computed value to get my json data format in a int array for the multiselect selected values and vice versa. Using such a computed property means that I change date while rendering which leads to an infinite loop.

Currently I created a computed property which has a getter which transforms the JSON object array in a integer array as well as a setter which does the opposite. In my example code the JSON object only contains the id, but in my production code there are a lot of other fields inside a “company”.

<template>   <b-form>     <b-form-select     :id="`input-companies`"     v-model="companiesSelected"     multiple     :select-size="4"     :options="availableCompanies"     ></b-form-select>   </b-form> </template>  <script> const availableCompanies = [   { value: 1, text: 'company1' },   { value: 2, text: 'company2' },   { value: 3, text: 'company3' },   { value: 4, text: 'company4' } ]  export default {   data () {     return {       employee: { id: 1, name: 'test', companies: [ { id: 1 }, { id: 2 } ] },       availableCompanies: availableCompanies     }   },   computed: {     companiesSelected: {       get () {         if (this.employee.companies == null) {           return []         }         return this.employee.companies.map(company => { return company.id } )       },       set (newValue) {         if (newValue == null) {           this.employee.companies = []         } else {           this.employee.companies = newValue.map(companyId => { return { id: companyId } })         }       }     }   } } </script> 

The setting of this.employee.companies leads to a infinite loop. I don’t really know how to avoid this. Does anyone know how to overcome this issue?

Problema com Binding e CaretIndex

Tenho uma Lista com Datagrid:

<DataGrid Name="GridLista"                       Grid.ColumnSpan="20"                       Margin="5"                       Grid.RowSpan="17"                       Grid.Row="3"                      CanUserAddRows="False"                      CanUserReorderColumns="True"                      AutoGenerateColumns="False"                       SelectionUnit="FullRow"                      SelectionMode="Extended"                      ItemsSource="{Binding Path=Lista}"                      SelectedValue="{Binding Path=Model, Mode = TwoWay}"                      IsReadOnly="True"               >                     <DataGrid.Columns>                         <DataGridTextColumn Width="0.1*" Binding="{Binding Codigo}" Header="Código"/>                         <DataGridTextColumn Width="0.9*" Binding="{Binding Nome}" Header="Nome Operador"/>                     </DataGrid.Columns>                 </DataGrid> 

Após clicar em uma das linhas, todos os textbox são preenchidos, abaixo um deles:

<TextBox Name="textOperadorNome" Text = "{Binding Model.Nome, Mode = TwoWay, UpdateSourceTrigger=PropertyChanged}" CharacterCasing="Upper" Margin="5" Grid.ColumnSpan="8"  Grid.Row="2" Padding="0" VerticalContentAlignment="Center" Grid.Column="4"/> 

Até ai nenhum problema, tudo funcionando.

Meu problema é: sempre que ele é preenchido depois de ser clicado na tabela, o textbox ganha o foco e ao invez dele colocar o cursor no final do texto, ele coloca no começo, tem alguma forma de corrigir esse problema?